﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AnlianCommon.Common.Domains.UserPermissions
{
    /// <summary>
    /// 角色权限表
    /// </summary>
    public class RolePerm : BaseEntity
    {
        /// <summary>
        /// 主键 Id
        /// </summary>
        [Key]
        public int RolePermId { get; set; }
        /// <summary>
        /// 操作
        /// </summary>
        public string? RolePermName { get; set; }
        /// <summary>
        /// 角色ID
        /// </summary>
        public int? RoleId { get; set; }
        /// <summary>
        /// 权限ID
        /// </summary>
        public int? PermissionId { get; set; }
    }
}
